package g34930.td6Bis.Classes;

import java.util.Scanner ; 

public class SuiteC { 

    public static void main ( String[] args ) { 

	Scanner clavier = new Scanner ( System.in ) ;  

	int nbrDeFois, cpt, nbr1, nbr2, total;

	nbrDeFois = clavier.nextInt();

	cpt = 0;
	nbr1 = 0;
	nbr2 = 1;
	System.out.print(nbr1 + ", ");
		// boucle FOR
	while (cpt <= nbrDeFois) {


		total = nbr1 + nbr2;
		nbr2 = nbr1;
		nbr1 = total;
		System.out.print(total + ", " );
		cpt ++ ;

	}
	System.out.println("");


    }

}
